package com.hbx.mapper;

import com.hbx.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2021-11-26
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 获得这周注册的用户
     * @param brforeDate
     * @param date
     * @return
     */
    List<User> getWeeksRegisterList(@Param("brforeDate") String brforeDate, @Param("date") String date);
}
